package ${api};

import com.fingard.gardpay.common.bean.PageView;
import com.fingard.gardpay.common.bean.ResultContext;
import com.fingard.gardpay.common.export.ExportParam;
import ${dto}.${table.alias}DTO;
import ${param}.${table.alias}Param;
import java.util.List;

/**
 * @author ${author}
 * @version 1.0 ${date}
 */
public interface ${table.alias}Api {


    PageView<${table.alias}DTO> listPage(${table.alias}Param ${table.propertyName}Param);


    ResultContext<${table.alias}DTO> getById(String id);


    ResultContext<${table.alias}DTO> add(${table.alias}DTO ${table.propertyName}DTO);


    ResultContext<${table.alias}DTO> edit(${table.alias}DTO ${table.propertyName}DTO);


    ResultContext<Integer> delete(List<String> urids);


    ResultContext<ExportParam> export(${table.alias}Param ${table.propertyName}Param, ExportParam exportParam);

 }
